<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layoutDescription="@xml/motion_scene">

    <TextView
        android:orientation="vertical"
        android:paddingLeft="20dp"
        android:paddingRight="20dp"
        android:paddingTop="20dp"
        android:paddingBottom="10dp"
        android:id="@+id/header"
        android:layout_width="wrap_content"
        android:layout_height="80dp"
        android:textSize="40sp"
        android:textStyle="bold"
        android:textColor="@color/home_header"
        android:fontFamily="@font/got"
        android:textFontWeight="400"
        android:text="@string/discover"/>

    <androidx.appcompat.widget.AppCompatImageView
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:id="@+id/settingsFragment"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:srcCompat="@drawable/ic_baseline_settings"
        android:layout_marginTop="5dp"
        android:layout_marginEnd="10dp"
        android:padding="10dp"
        android:background="?selectableItemBackgroundBorderless"
        android:clickable="true"
        app:layout_constraintBottom_toTopOf="@id/shadowLayout"
        android:focusable="true" />
    <!-- <androidx.appcompat.widget.AppCompatImageView
        android:layout_width="38dp"
        android:layout_height="38dp"
        android:id="@+id/favorite"
        android:padding="10dp"
        android:layout_marginTop="5dp"
        android:layout_marginEnd="5dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintEnd_toStartOf="@id/settingsFragment"
        app:srcCompat="@drawable/ic_favorite"
        android:background="?selectableItemBackgroundBorderless"
        android:clickable="true"
        app:layout_constraintBottom_toTopOf="@id/shadowLayout"
        android:focusable="true" /> -->

    <LinearLayout
        android:id="@+id/shadowLayout"
        android:layout_width="match_parent"
        android:orientation="vertical"
        android:background="@color/app_background"
        android:layout_height="50dp"
        android:elevation="1dp"
        android:layout_marginTop="300dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@id/header"/>


    <androidx.recyclerview.widget.RecyclerView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:id="@+id/recyclerView"
        android:paddingBottom="25dp"
        android:clipToPadding="false"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintTop_toBottomOf="@id/header"/>

</androidx.constraintlayout.motion.widget.MotionLayout>